package com.fa4j.system.account.model;

import com.fa4j.common.base.exception.RequestErrorType;
import lombok.AllArgsConstructor;
import lombok.Getter;


@Getter
@AllArgsConstructor
public enum PasswordError implements RequestErrorType {

    ERROR_OLD_PASSWORD(1, "原密码错误"),
    PASSWORD_STRENGTH_WEAK(2, "密码强度不够,{0}"),
    PASSWORD_EXPIRED(3, "密码已过期");


    private final Integer innerCode;
    private final String errMsg;

}
